home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / Bomber Bob.swf / scripts / frame_1 / DoAction_2.as next >
Encoding:
Text File  |  2006-06-13  |  289 b   |  14 lines

  1. stop();
  2. logo.onEnterFrame = function()
  3. {
  4.    if(_root.getBytesLoaded() == _root.getBytesTotal())
  5.    {
  6.       _root.logo.play();
  7.    }
  8.    else
  9.    {
  10.       tgFrame = Math.round(_root.getBytesLoaded() / _root.getBytesTotal() * 100);
  11.       this.progress.gotoAndStop(tgFrame);
  12.    }
  13. };
  14.